all: program 

program:
	bison -d program.y
	flex program.l
	gcc -c lex.yy.c
	g++ program.tab.c lex.yy.o -o $@ 

clean:
	rm -rf program.tab.c program.tab.h lex.yy.c lex.yy.o program 

